package com.beimihu.GetAFData.service;

import com.beimihu.GetAFData.domain.AFData;
import com.beimihu.GetAFData.mapper.GetAFDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther beimihu
 * @date 2024/2/2
 * @description
 */
@Service
public class GetAFDataService {

    @Autowired
    private GetAFDataMapper getAFDataMapper;

    public int insertAFData(AFData afData){
        return  getAFDataMapper.insertAFData(afData);
    };

    public List<AFData> selectAFDataList(AFData afData){
        return getAFDataMapper.selectAFDataList(afData);
    };

    public int deleteData(){return getAFDataMapper.deleteData();};




}
